
import '@babel/polyfill'
import Vue from 'vue'
import App from './App.vue'
import store from './store'
import './assets/common/css/common.css'
import './assets/common/css/theme.scss'
import 'element-ui/lib/theme-chalk/index.css';
import './assets/common/font/iconfont/iconfont.css';
Vue.prototype.$store = store
import router from './router'

import Element from 'element-ui';
Vue.use(Element, { size: 'small', zIndex: 3000 });

Vue.config.productionTip = false

import $http from '@/api/index.js';
Vue.prototype.$http = $http;

import { msgAlert, messages } from './utils/msg-box.js';
Vue.prototype.$messages = messages;
Vue.prototype.$msgAlert = msgAlert;

import { format } from '@/utils/format'
Vue.prototype.$format = format

import importImgs from '@/utils/importAll'
Vue.prototype.$importImgs = importImgs
let vm = new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')

export default vm